#pragma once
float frand(float a, float b)
{
	float r = (float)rand()/(float)RAND_MAX;
	return a + (b - a) * r;
}